package com.ruoyi.mongo.util;

//import com.mongodb.MongoClient;
//import com.mongodb.client.MongoCollection;
//import com.mongodb.client.MongoDatabase;

public class MongoDBDemo {
    public static void main(String[] args) {
       /*  // 创建链接对象
        MongoClient client = new MongoClient("180.76.180.232",27017);

        // 获取MongoDB数据库
        MongoDatabase database = client.getDatabase("develop");

        // 获取MongoDB中的集合
        MongoCollection collection = database.getCollection("dev");*/
        // MongoCollection coll = MongoDBAuthPoolUtil.getCollection("develop","dev");

       //  MongoDBAuthPoolUtil.createCollection("develop","devtest");

    }





}
